package com.ruoyi.system.domain;

import java.math.BigDecimal;
import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import lombok.EqualsAndHashCode;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 客人信息对象 guest
 * 
 * @author 华馨悦
 * @date 2025-01-24
 */
@Data
@EqualsAndHashCode(callSuper = true)
public class Guest extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键 */
    private Long id;

    /** 客人姓名 */
    @Excel(name = "客人姓名")
    private String name;

    /** 身份证号 */
    @Excel(name = "身份证号")
    private String idNumber;

    /** 联系电话 */
    @Excel(name = "联系电话")
    private String phone;


    @Excel(name = "入住房间")
    private Long roomId;

    /** 入住时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "入住时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date checkInTime;

    /** 退房时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "退房时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date checkOutTime;

    /** 总费用 */
    @Excel(name = "总费用")
    private BigDecimal totalPrice;

    /** 客人状态 */
    @Excel(name = "客人状态")
    private Integer status;

    /** 创建时间 */
    private Date createdTime;

    /** 更新时间 */
    private Date updatedTime;

    /** 删除标记 */
    private Integer isDelete;


}
